<extend name="Public/base" />
<!-- 管理员用户组新增和编辑页面 -->
<block name="body">

	<div class="main-title">
		<h2>{$nickname}的用户组 <button class="btn btn-default btn-return" onclick="javascript:history.back(-1);return false;"><i class="glyphicon glyphicon-share-alt"></i> 返 回</button> </h2>
	</div>

    <form action="{:U('')}" method="POST" class="form">
        <div class="form-item form-group">
            <label for="auth-title" class="item-label">用户组</label>
            <div class="controls">
                <select name="groups[]">
                <option value="">选择</option>
                <volist name="groups_options" id="g">
                    <option value="{$g.group}" <eq name="g.selected" value="1"> selected</eq>>{$g.group}</option>
                </volist>
                </select>
            </div>
        </div>
        
        <div class="form-item form-group form-action">
            <input type="hidden" name="id" value="{$id}" />
            <button type="submit" class="btn submit-btn ajax-post btn-success" target-form="form">确 定</button>
            <!-- <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button> -->
        </div>
    </form>
<block>

<block name="script">
<script type="text/javascript">
    //导航高亮
     highlight_subnav('{:U('User/index')}');
</script>
</block>
